#Add our method to the Net::HTTP module, so we can use Net:HTTP.get_response_for_real().
#Example call:
#       Net::HTTP.get_response_for_real(URI.parse('http://www.google.com'))
module Net
  class HTTP
    # get_response_following_redirects
    def self.get_response_following_redirects orig_uri, requests_limit = 15
      FollowHttpRedirects.get_response_following_redirects orig_uri, requests_limit
    end
  end
end
